home *** CD-ROM | disk | FTP | other *** search
- //=========================================================================
- // Shadows support
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- HasDOT3LM
- NoLights
- }
-
- #define COMBINER CGRCTexDOT3LM_AlphaGlow
- #include "AmbPassDOT3LM_VP.csi"
- #undefine COMBINER
-
- #include "ShadowPass4_Neg.csi"
- )
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- HasDOT3LM
- MultipleLights
- SingleLight
- }
-
- #include "LightDiff_Multiple_VP.csi"
-
- #define COMBINER CGRCTexDOT3LM_AlphaGlow
- #include "AmbPassDOT3LM_VP.csi"
- #undefine COMBINER
-
- #include "ShadowPass4_Neg.csi"
- )
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- SingleLight
- }
-
- #include "LightDiff_Single_AGlow_VP.csi"
- #include "ShadowPass4.csi"
- )
-
- HW 'Seq'
- (
- Conditions
- {
- InShadow
- MultipleLights
- }
-
- #include "LightDiff_Multiple_VP.csi"
-
- #define COMBINER CGRCAmbient_AlphaGlow
- #include "AmbPass_VP.csi"
- #undefine COMBINER
-
- #include "ShadowPass4.csi"
- )
-
- //=========================================================================
-
- // Technique 'NoLights'
- HW 'Seq'
- (
- Conditions
- {
- HasDOT3LM
- NoLights
- }
-
- #define COMBINER CGRCTexDOT3LM_AlphaGlow
- #include "AmbPassDOT3LM_VP.csi"
- #undefine COMBINER
- )
- // Technique 'NoLights'
- HW 'Seq'
- (
- Conditions
- {
- HasLM
- NoLights
- }
-
- #define COMBINER CGRCTexLM_AlphaGlow
- #include "AmbPassLM_VP.csi"
- #undefine COMBINER
- )
-
- HW 'Seq'
- (
- Conditions
- {
- NoLights
- }
-
- #define COMBINER CGRCAmbient_AlphaGlow
- #include "AmbPass_VP.csi"
- #undefine COMBINER
- )
-
- // Technique 'SingleLight with Lightmaps' (optimization)
- HW 'Seq'
- (
- Conditions
- {
- SingleLight
- HasDOT3LM
- }
-
- #define COMBINER CGRCTexDOT3LM_AlphaGlow
- #include "AmbPassDOT3LM_VP.csi"
- #undefine COMBINER
-
- #include "LightDiff_Multiple_VP.csi"
- )
- // Technique 'SingleLight with Lightmaps' (optimization)
- HW 'Seq'
- (
- Conditions
- {
- SingleLight
- HasLM
- }
-
- #define COMBINER CGRCTexLM_AlphaGlow
- #include "AmbPassLM_VP.csi"
- #undefine COMBINER
-
- #include "LightDiff_Multiple_VP.csi"
- )
-
- // Technique 'SingleLight without Lightmaps' (optimization)
- HW 'Seq'
- (
- Conditions
- {
- SingleLight
- }
-
- #include "LightDiff_Single_AGlow_VP.csi"
- )
-
- // Technique 'MultipleLights with lightmaps'
- HW 'Seq'
- (
- Conditions
- {
- MultipleLights
- HasDOT3LM
- }
- #define COMBINER CGRCTexDOT3LM_AlphaGlow
- #include "AmbPassDOT3LM_VP.csi"
- #undefine COMBINER
-
- #include "LightDiff_Multiple_VP.csi"
- )
- // Technique 'MultipleLights with lightmaps'
- HW 'Seq'
- (
- Conditions
- {
- MultipleLights
- HasLM
- }
- #define COMBINER CGRCTexLM_AlphaGlow
- #include "AmbPassLM_VP.csi"
- #undefine COMBINER
-
- #include "LightDiff_Multiple_VP.csi"
- )
-
- // Technique 'MultipleLights without lightmaps'
- HW 'Seq'
- (
- Conditions
- {
- MultipleLights
- }
- #define COMBINER CGRCAmbient_AlphaGlow
- #include "AmbPass_VP.csi"
- #undefine COMBINER
-
- #include "LightDiff_Multiple_VP.csi"
- )
-